[INFO] fetching crate logging_content 0.1.1...
[INFO] fixing logging_content-0.1.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate logging_content 0.1.1 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate logging_content 0.1.1
[INFO] finished tweaking crates.io crate logging_content 0.1.1
[INFO] tweaked toml for crates.io crate logging_content 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate logging_content 0.1.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate logging_content 0.1.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cd2a6ba1b2a7337872e241dc1c4cb72f5cfe4fb3f8024a6f10f4f9ce8b711ccf
[INFO] running `Command { std: "docker" "start" "cd2a6ba1b2a7337872e241dc1c4cb72f5cfe4fb3f8024a6f10f4f9ce8b711ccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cd2a6ba1b2a7337872e241dc1c4cb72f5cfe4fb3f8024a6f10f4f9ce8b711ccf" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd2a6ba1b2a7337872e241dc1c4cb72f5cfe4fb3f8024a6f10f4f9ce8b711ccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cd2a6ba1b2a7337872e241dc1c4cb72f5cfe4fb3f8024a6f10f4f9ce8b711ccf" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   log v0.4.17 removed features: std
[INFO] [stderr] 
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling indexmap v1.8.2
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]     Checking similar v2.1.0
[INFO] [stderr]     Checking logging_content v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Checking console v0.15.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling serial_test_derive v0.7.0
[INFO] [stderr]     Checking serial_test v0.7.0
[INFO] [stderr]     Checking serde v1.0.137
[INFO] [stderr]     Checking serde_yaml v0.8.24
[INFO] [stderr]     Checking insta v1.14.1
[INFO] [stderr]    Migrating examples/result_logging.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.13s
[INFO] [stderr] crater-edition-check: logging_content v0.1.1 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]     Checking logging_content v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `log_error_msg`, `log_debug_msg`, and `log_trace_msg` are never used
[INFO] [stdout]   --> src/lib.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |         pub trait LogContent: Sized {
[INFO] [stdout]    |                   ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 18 |             fn log_error_msg(self, msg: &str) -> Self {
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |             fn log_debug_msg(self, msg: &str) -> Self {
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |             fn log_trace_msg(self, msg: &str) -> Self {
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/option.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     crate::trait_LogContent!();
[INFO] [stdout]    |     -------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `$crate::trait_LogContent` which comes from the expansion of the macro `crate::trait_LogContent` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `log_warn_msg`, `log_debug_msg`, and `log_trace_msg` are never used
[INFO] [stdout]   --> src/lib.rs:22:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |         pub trait LogContent: Sized {
[INFO] [stdout]    |                   ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 22 |             fn log_warn_msg(self, msg: &str) -> Self {
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |             fn log_debug_msg(self, msg: &str) -> Self {
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |             fn log_trace_msg(self, msg: &str) -> Self {
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/result.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 51 |     crate::trait_LogContent!();
[INFO] [stdout]    |     -------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `$crate::trait_LogContent` which comes from the expansion of the macro `crate::trait_LogContent` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `log_error_msg`, `log_warn_msg`, and `log_trace_msg` are never used
[INFO] [stdout]    --> src/lib.rs:18:16
[INFO] [stdout]     |
[INFO] [stdout]  15 |         pub trait LogContent: Sized {
[INFO] [stdout]     |                   ---------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout]  18 |             fn log_error_msg(self, msg: &str) -> Self {
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  22 |             fn log_warn_msg(self, msg: &str) -> Self {
[INFO] [stdout]     |                ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  34 |             fn log_trace_msg(self, msg: &str) -> Self {
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |         trait_LogContent!();
[INFO] [stdout]     |         ------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `$crate::trait_LogContent` which comes from the expansion of the macro `trait_LogContent` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.45s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   log v0.4.17 removed features: std
[INFO] [stderr] 
[INFO] [stderr]     Checking logging_content v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]   --> src/option.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     (Some(ref t), <$log_level>::Info) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                           ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 51 |     impl_Option!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]    = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]    = note: this warning originates in the macro `$crate::impl_Option` which comes from the expansion of the macro `impl_Option` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     (&Some(ref t), <$log_level>::Info) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]   --> src/option.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     (Some(ref t), <$log_level>::Debug) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                           ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 51 |     impl_Option!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]    = note: this warning originates in the macro `$crate::impl_Option` which comes from the expansion of the macro `impl_Option` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     (&Some(ref t), <$log_level>::Debug) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]   --> src/option.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     (Some(ref t), <$log_level>::Trace) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                           ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 51 |     impl_Option!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]    = note: this warning originates in the macro `$crate::impl_Option` which comes from the expansion of the macro `impl_Option` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     (&Some(ref t), <$log_level>::Trace) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]   --> src/result.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |                     (Err(ref e), $crate::Level::Error) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                          ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]    = note: this warning originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 15 |                     (&Err(ref e), $crate::Level::Error) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]   --> src/result.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     (Err(ref e), $crate::Level::Warn) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                          ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]    = note: this warning originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     (&Err(ref e), $crate::Level::Warn) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/result_logging.rs from 2021 edition to 2024
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]   --> src/result.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     (Ok(ref t), $crate::Level::Info) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                         ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]    = note: this warning originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     (&Ok(ref t), $crate::Level::Info) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]   --> src/result.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     (Ok(ref t), $crate::Level::Debug) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                         ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]    = note: this warning originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     (&Ok(ref t), $crate::Level::Debug) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: cannot explicitly borrow within an implicitly-borrowing pattern in Rust 2024
[INFO] [stdout]   --> src/result.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     (Ok(ref t), $crate::Level::Trace) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                         ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/match-ergonomics.html>
[INFO] [stdout]    = note: this warning originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     (&Ok(ref t), $crate::Level::Trace) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.95s
[INFO] [stderr] crater-edition-check: logging_content v0.1.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking logging_content v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> examples/result_logging.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | logging_content::impl_Result!();
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `logging_content::impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]   --> src/result.rs:15:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |                     (&Err(ref e), $crate::Level::Error) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> examples/result_logging.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | logging_content::impl_Result!();
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `logging_content::impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]   --> src/result.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     (&Err(ref e), $crate::Level::Warn) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> examples/result_logging.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | logging_content::impl_Result!();
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `logging_content::impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]   --> src/result.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     (&Ok(ref t), $crate::Level::Info) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> examples/result_logging.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | logging_content::impl_Result!();
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `logging_content::impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]   --> src/result.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     (&Ok(ref t), $crate::Level::Debug) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> examples/result_logging.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | logging_content::impl_Result!();
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `logging_content::impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]   --> src/result.rs:19:22
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     (&Ok(ref t), $crate::Level::Trace) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `logging_content` (example "result_logging") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/option.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     (Some(ref t), <$log_level>::Info) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                           ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 51 |     impl_Option!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_Option` which comes from the expansion of the macro `impl_Option` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     (&Some(ref t), <$log_level>::Info) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/option.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     (Some(ref t), <$log_level>::Debug) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                           ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 51 |     impl_Option!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_Option` which comes from the expansion of the macro `impl_Option` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     (&Some(ref t), <$log_level>::Debug) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/option.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     (Some(ref t), <$log_level>::Trace) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                           ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 51 |     impl_Option!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `$crate::impl_Option` which comes from the expansion of the macro `impl_Option` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     (&Some(ref t), <$log_level>::Trace) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/result.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |                     (Err(ref e), $crate::Level::Error) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                          ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 15 |                     (&Err(ref e), $crate::Level::Error) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/result.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     (Err(ref e), $crate::Level::Warn) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                          ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 16 |                     (&Err(ref e), $crate::Level::Warn) => Some(e.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/result.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     (Ok(ref t), $crate::Level::Info) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                         ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     (&Ok(ref t), $crate::Level::Info) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/result.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     (Ok(ref t), $crate::Level::Debug) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                         ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 18 |                     (&Ok(ref t), $crate::Level::Debug) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> src/result.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     (Ok(ref t), $crate::Level::Trace) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                         ^^^^^ occurs within macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 52 |     impl_Result!();
[INFO] [stdout]    |     -------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the macro `impl_Result` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: match on the reference with a reference pattern to avoid implicitly borrowing
[INFO] [stdout]    |
[INFO] [stdout] 19 |                     (&Ok(ref t), $crate::Level::Trace) => Some(t.as_log_display(level)),
[INFO] [stdout]    |                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `logging_content` (lib test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "cd2a6ba1b2a7337872e241dc1c4cb72f5cfe4fb3f8024a6f10f4f9ce8b711ccf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd2a6ba1b2a7337872e241dc1c4cb72f5cfe4fb3f8024a6f10f4f9ce8b711ccf", kill_on_drop: false }`
[INFO] [stdout] cd2a6ba1b2a7337872e241dc1c4cb72f5cfe4fb3f8024a6f10f4f9ce8b711ccf
